POV-Ray : Newsgroups : povray.newusers : Scaling question... : Re: Scaling question... Server Time
30 Jul 2024 16:13:00 EDT (-0400)
  Re: Scaling question...  
From: Warp
Date: 25 Nov 2003 21:03:06
Message: <3fc409da@news.povray.org>
Only linear transformations are possible with transformation matrices
(scales, rotates and translates are just shortcuts to equivalent
transformation matrices).
  What you are trying to achieve is a non-linear transformation which
is not possible with matrices.

  The way to go is most probably to create the cone as an isosurface
and then modify the input variables of the isosurface function
appropriately.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.